﻿using System;
using System.Collections.Generic;
using Model;

namespace IHodelBll
{
   public  interface IRoomsBLL
    {
        // <summary>
        /// 新增客房
        /// </summary>
        /// <param name="S"></param>
        /// <returns></returns>
        int AddRoom(RoomList list);
        /// <summary>
        /// 删除客房
        /// </summary>
        /// <param name="aid"></param>
        /// <returns></returns>
        int DelRoom(int aid);
        /// <summary>
        /// 修改客房
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int UptRoom(RoomList m);

        /// <summary>
        /// 显示客房类型列表
        /// </summary>
        /// <returns></returns>
        List<RoomsModel> RoomModels();
        /// <summary>
        /// 显示客房类型
        /// </summary>
        /// <returns></returns>
        List<RoomType> RoomsType();
    }
}
